

#include "connectBrushButton.h"
#include "renderer.h"
#include "input.h"
#include "udpInput.h"
#include "drawingWidget.h"

ConnectBrushButton::ConnectBrushButton(){

color=Vector4f(1.0,0.1,0.1,1.0);
}
ConnectBrushButton::~ConnectBrushButton(){}


void ConnectBrushButton::setup(){
Button::setup();
}

void ConnectBrushButton::update(double deltaTime){}

void ConnectBrushButton::mouseOver(){

Button::mouseOver();
}

void ConnectBrushButton::mouseDrag(){}
void ConnectBrushButton::clickedLeft(){

input->focusButton=this;
}
void ConnectBrushButton::clickedRight(){}
void ConnectBrushButton::focusClick(){

Button::focusClick();

if (input->hudTarget!=NULL && input->hudTarget->isA("UdpInput") && DrawingWidget::brush)
  {
  }
}

void ConnectBrushButton::deselect(int depth){

Button::deselect(depth);
}

void ConnectBrushButton::create(){renderer->addButton(this);}
